package server;

/**
 * @Authther: mrwu
 * @date:2021/3/29-03
 * @Description:server
 */

/**
 * 表示一个servlet的具体实现
 */
public class Wrapper {
    //servlet的全限定类名
    private String ServletClassname;
    //servlet的子类对象
    private HttpServlet instance;
   //处理的路径
    private String urlpattern;
    private String name;

    public String getServletClassname() {
        return ServletClassname;
    }

    public void setServletClassname(String servletClassname) {
        ServletClassname = servletClassname;
    }

    public HttpServlet getInstance() {
        return instance;
    }

    public void setInstance(HttpServlet instance) {
        this.instance = instance;
    }

    public String getUrlpattern() {
        return urlpattern;
    }

    public void setUrlpattern(String urlpattern) {
        this.urlpattern = urlpattern;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
